package com.danskin.wechat.entity;

import java.util.Date;

public class WxMediaPlatform {
	private Integer id;

	private String registerOpenId;

	private String nickName;

	private String headImg;

	private String qrcodeUrl;

	private Byte serviceTypeInfo;

	private Byte verifyTypeInfo;

	private String userName;

	private String principalName;

	private String alias;

	private String token;

	private String encodingAesKey;

	private String appId;

	private String appSecret;

	private String accessToken;

	private Date accessTokenExpires;

	private String refreshToken;

	private String jsapiTicket;

	private Date jsapiTicketExpires;

	private String cardApiTicket;

	private Date cardApiTicketExpires;
	/*
	 * 授权状态（1：已授权；0：未授权）
	 **/
	private Integer status;

	private Date createdTime;

	private Date lastModifiedTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRegisterOpenId() {
		return registerOpenId;
	}

	public void setRegisterOpenId(String registerOpenId) {
		this.registerOpenId = registerOpenId == null ? null : registerOpenId.trim();
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName == null ? null : nickName.trim();
	}

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg == null ? null : headImg.trim();
	}

	public String getQrcodeUrl() {
		return qrcodeUrl;
	}

	public void setQrcodeUrl(String qrcodeUrl) {
		this.qrcodeUrl = qrcodeUrl == null ? null : qrcodeUrl.trim();
	}

	public Byte getServiceTypeInfo() {
		return serviceTypeInfo;
	}

	public void setServiceTypeInfo(Byte serviceTypeInfo) {
		this.serviceTypeInfo = serviceTypeInfo;
	}

	public Byte getVerifyTypeInfo() {
		return verifyTypeInfo;
	}

	public void setVerifyTypeInfo(Byte verifyTypeInfo) {
		this.verifyTypeInfo = verifyTypeInfo;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}

	public String getPrincipalName() {
		return principalName;
	}

	public void setPrincipalName(String principalName) {
		this.principalName = principalName == null ? null : principalName.trim();
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias == null ? null : alias.trim();
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token == null ? null : token.trim();
	}

	public String getEncodingAesKey() {
		return encodingAesKey;
	}

	public void setEncodingAesKey(String encodingAesKey) {
		this.encodingAesKey = encodingAesKey == null ? null : encodingAesKey.trim();
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId == null ? null : appId.trim();
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret == null ? null : appSecret.trim();
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken == null ? null : accessToken.trim();
	}

	public Date getAccessTokenExpires() {
		return accessTokenExpires;
	}

	public void setAccessTokenExpires(Date accessTokenExpires) {
		this.accessTokenExpires = accessTokenExpires;
	}

	public String getRefreshToken() {
		return refreshToken;
	}

	public void setRefreshToken(String refreshToken) {
		this.refreshToken = refreshToken == null ? null : refreshToken.trim();
	}

	public String getJsapiTicket() {
		return jsapiTicket;
	}

	public void setJsapiTicket(String jsapiTicket) {
		this.jsapiTicket = jsapiTicket == null ? null : jsapiTicket.trim();
	}

	public Date getJsapiTicketExpires() {
		return jsapiTicketExpires;
	}

	public void setJsapiTicketExpires(Date jsapiTicketExpires) {
		this.jsapiTicketExpires = jsapiTicketExpires;
	}

	/**
	 * @return the cardApiTicket
	 */
	public String getCardApiTicket() {
		return cardApiTicket;
	}

	/**
	 * @param cardApiTicket
	 *            the cardApiTicket to set
	 */
	public void setCardApiTicket(String cardApiTicket) {
		this.cardApiTicket = cardApiTicket;
	}

	/**
	 * @return the cardApiTicketExpires
	 */
	public Date getCardApiTicketExpires() {
		return cardApiTicketExpires;
	}

	/**
	 * @param cardApiTicketExpires
	 *            the cardApiTicketExpires to set
	 */
	public void setCardApiTicketExpires(Date cardApiTicketExpires) {
		this.cardApiTicketExpires = cardApiTicketExpires;
	}

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Date getLastModifiedTime() {
		return lastModifiedTime;
	}

	public void setLastModifiedTime(Date lastModifiedTime) {
		this.lastModifiedTime = lastModifiedTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}